#include"ThreadPool.hpp"
#include"task.hpp"
int main()
{
    //ThreadPool<task_t>* pool=new ThreadPool<task_t>();
    static ThreadPool<task_t>* pool=ThreadPool<task_t>::GetInstance();
    pool->Start();
    pool->Equeue(DownLoad);
    pool->Stop();
    pool->Join();
    return 0;
}